import request from '@/api/request'

/**
 * 查询药品 分页
 * @param {*} data
 * @returns
 */
export function deviceLists(data) {
  return request({
    url: '/emrweb/apparatus/queryPage',
    method: 'post',
    data,
  })
}

export function loadData(params) {
  return request({
    url: '/emrweb/apparatus/queryInfo',
    method: 'get',
    params,
  })
}
export function save(data) {
  return request({
    url: '/emrweb/apparatus/save',
    method: 'post',
    data,
  })
}

export function delData(params) {
  return request({
    url: '/emrweb/apparatus/delete',
    method: 'get',
    params,
  })
}
